package com.thesis.dao;

import com.github.pagehelper.Page;
import com.thesis.entity.SysAdmin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAdminMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysAdmin record);

    int insertSelective(SysAdmin record);

    SysAdmin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysAdmin record);

    int updateByPrimaryKey(SysAdmin record);

    Page<SysAdmin> findPageList(@Param("queryParam") SysAdmin record);

    Page<SysAdmin> findPageListByVague(@Param("queryParam") SysAdmin queryParam, @Param("vagueParam") String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    List<SysAdmin> checkObj(SysAdmin record);

    SysAdmin findByMobile(String mobile);
}